import request from '@/utils/request'

// 发布甩单
export function publishSameTrade(data) {
    return request.post('network_square/publishSameTrade',data)
}

// 发布咨询
export function publishConsultingExpert(data) {
    return request.post('publish/consultingExpert',data)
}

// 查询同行名片数据接口
export function queryPeerBusinessCardLists(data) {
    return request.post('network_square/queryPeerBusinessCardLists',data)
}

// 查询同行甩单数据接口
export function querySameTradeLists(data) {
    return request.post('network_square/querySameTradeLists',data)
}

// 查询合作需求数据接口
export function queryCooperationLists(data) {
    return request.post('network_square/queryCooperationLists',data)
}

// 查询专家答疑数据接口
export function queryConsultingExpertLists(data) {
    return request.post('network_square/queryConsultingExpertLists',data)
}

// 发送POST请求
export function sendPostRequest(url,data,hint = '数据上传中'){
	uni.showLoading({
		title: hint
	});
	return request.post('network_square/' + url,data)
}